package com.longxiao.entity;

import java.util.Date;

public class GiftRecord {
    private Integer id;

    private String userId;

    private String giftNo;

    private Date receiveTime;

    private Integer cpScore;

    private Date createdTime;

    private Date modifiedTime;

    public GiftRecord() {
    	
    }
    
    
    public GiftRecord(String userId, String giftNo, Date receiveTime,
			Integer cpScore) {
		super();
		this.userId = userId;
		this.giftNo = giftNo;
		this.receiveTime = receiveTime;
		this.cpScore = cpScore;
		Date date = new Date();
		this.createdTime = date;
		this.modifiedTime = date;
	}




	public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId == null ? null : userId.trim();
    }

    public String getGiftNo() {
        return giftNo;
    }

    public void setGiftNo(String giftNo) {
        this.giftNo = giftNo == null ? null : giftNo.trim();
    }

    public Date getReceiveTime() {
        return receiveTime;
    }

    public void setReceiveTime(Date receiveTime) {
        this.receiveTime = receiveTime;
    }

    public Integer getCpScore() {
        return cpScore;
    }

    public void setCpScore(Integer cpScore) {
        this.cpScore = cpScore;
    }

    public Date getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(Date createdTime) {
        this.createdTime = createdTime;
    }

    public Date getModifiedTime() {
        return modifiedTime;
    }

    public void setModifiedTime(Date modifiedTime) {
        this.modifiedTime = modifiedTime;
    }
}